package com.kpx.app.bean;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * User: 陈聪(617909447@qq.com)
 * Date: 2016-07-07
 * Time: 16:01
 * FIXME
 */
public class CartResultStatus extends BaseBean {

    /**
     * skuId : 1706283527178240
     * status : 1
     */

    private long skuId;
    private int status;

    @Override
    protected void init(JSONObject jSon) throws JSONException {
        setSkuId(jSon.optLong("skuId"));
        setStatus(jSon.optInt("status"));
    }

    public long getSkuId() {
        return skuId;
    }

    public void setSkuId(long skuId) {
        this.skuId = skuId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
